/**
 * @filename:TupianService Jan 17, 2024
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.Tupian;
import com.wonder.app.request.TupianRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
/**   
 * @Description:TODO(图片信息管理服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface TupianService extends IService<Tupian> {

    
    /**
     * 验证图片信息管理信息
     * 
     * @param tupian
     * @param type
     * @return 结果
     */
    public String validate(Tupian tupian,String type);   
   
	
	 /**
	 * Description:图片信息管理分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<Tupian>   //分页记录
	 */
    public IPage<Tupian> selectList(TupianRequest request, Page<Tupian> page);

	//提交
	boolean tupianTiJiao(Long fid);
	//撤销
	boolean tupianCheXiao(Long fid);
	//审核
	boolean tupianShenHe(Long fid);
	//反审核
	boolean tupianFanShenHe(Long fid);

	/**
	 * 获取图片信息
	 * @return
	 */
    List<Map<String, Object>> selectTuPianList();
}
